<?php

class email {

    function __construct($host, $name = 1) {
        echo "name:" . $name;
        echo 'host:' . $host;
    }

    public function send($email) {
        echo "send to $email\n";
    }
}
